package com.xiao.hao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiao.hao.constant.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Description 用户关联用药计划 实体类层
 * @Author xiaohao
 * @Date 2025-03-05 17:23:15
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "xh_medication_plan", autoResultMap = true)
public class XhMedicationPlan extends SuperEntity {
    @ApiModelProperty("主键id")
    @TableId("medication_plan_id")
    private Long id;

    @ApiModelProperty("用户档案id")
    @TableField("user_info_file_id")
    private Long userInfoFileId;

    @ApiModelProperty("药品名称")
    @TableField("medication_name")
    private String medicationName;

    @ApiModelProperty("产品时长")
    @TableField("starting_medication")
    private String startingMedication;


    @ApiModelProperty("产品频次")
    @TableField("medication_frequency")
    private String medicationFrequency;

    @ApiModelProperty("每天产品次数")
    @TableField("medication_num")
    private Integer medicationNum;

    @ApiModelProperty("产品时间")
    @TableField("product_date")
    private String productDate;

    @ApiModelProperty("每次剂量数量")
    @TableField("each_dose_enum")
    private Integer eachDoseEum;

    @ApiModelProperty("每次剂量枚举")
    @TableField("each_dose")
    private Integer eachDose;

    @ApiModelProperty("用法枚举")
    @TableField("surgical_enum")
    private Integer surgicalEnum;


    @ApiModelProperty("产品指导枚举")
    @TableField("medication_guidance")
    private Integer medicationGuidance;

    @ApiModelProperty("备注")
    @TableField("remake")
    private String remake;

}



